Window Resource IDs
CHANGED WITH THE APPEARANCE MANAGER
You can use one of these constants to create a window definition ID. The standard Appearance-compliant resource ID constantskWindowDocumentDefProcResID
,kWindowUtilityDefProcResID
, andkWindowUtilitySideTitleDefProcResID
have collapse boxes.
- Note
- Resource IDs 0 through 127 are reserved for use by the system.
enum { kStandardWindowDefinition = 0, kRoundWindowDefinition = 1, kWindowDocumentDefProcResID= 64, kWindowDialogDefProcResID = 65, kWindowUtilityDefProcResID = 66, kWindowUtilitySideTitleDefProcResID = 67, kFloatingWindowDefinition = 124 };Constant descriptions
kStandardWindowDefinition
- Defines pre-Appearance standard document windows and dialog boxes. When mapping is enabled, this resource ID is mapped to
kWindowDocumentDefProcResID
orkWindowDialogDefProcResID
. When mapped tokWindowDocumentDefProcResID
, this produces an Appearance-compliant standard document window with no size box and no vertical or horizontal zoom box. When mapped tokWindowDialogDefProcResID
, this produces an Appearance-compliant dialog box with no size box and a 3-pixel space between the dialog box's content and structure region.kRoundWindowDefinition
- Defines pre-Appearance standard desk-accessory style windows. This resource ID is not mapped to any Appearance-compliant resource ID when mapping is enabled.
kWindowDocumentDefProcResID
- Defines Appearance-compliant standard document windows with a size box. Standard document windows created with this resource ID can use variation codes to create windows with vertical and horizontal zoom boxes.
kWindowDialogDefProcResID
- Defines Appearance-compliant dialog and alert boxes. Modal and movable modal dialog boxes created with this resource ID are displayed with no space between their content and structure region. Alert boxes created with this resource ID are displayed with a red-tinged border.
kWindowUtilityDefProcResID
- Defines Appearance-compliant utility (floating) windows with a top title bar and a size box.
kWindowUtilitySideTitleDefProcResID
- Defines Appearance-compliant utility (floating) windows with a side title bar and a size box.
kFloatingWindowDefinition
- Defines pre-Appearance utility (floating) windows. When mapping is enabled, this resource ID is mapped to
kWindowUtilityDefProcResID
orkWindowUtilitySideTitleDefProcResID
. When mapped tokWindowUtilityDefProcResID
, this produces an Appearance-compliant utility window with no size box untilDrawGrowIcon
is called. When mapped tokWindowUtilitySideTitleDefProcResID
, it produces an Appearance-compliant utility window with a side title bar and no size box untilDrawGrowIcon
is called.
WHEN THE APPEARANCE MANAGER IS NOT AVAILABLE
Only the following window resource ID constants are supported:
kStandardWindowDefinition = 0, kRoundWindowDefinition = 1, kFloatingWindowDefinition = 124